import { observable, action } from 'mobx';

class OneForAllStore {

    /**
     *  Initial Query Completed Flag
     */
    @observable public QAssetsExecuted: boolean = false;
    @observable public MGoldsExecuted:boolean = false;

    @action.bound
    public toggleQAssetsExcuted(){ this.QAssetsExecuted = true }

    @action.bound
    public toggleMGoldsExecuted(){ this.MGoldsExecuted = true }

    /**
     *  Executor Startup Flag
     */
    @observable public AssetsStandBy:boolean = true;
    
    @action.bound
    public setAssetsStandBy(standby:boolean){ this.AssetsStandBy = standby }

}

export default new OneForAllStore();